@(pins: List[is.ru.honn.rupin.domain.Pin], user: String)

@main(Html("RuPin")) {
<h2>Welcome @user</h2>
<div class="span14">
    <div class="row">
        @for(pin <- pins){
        <div class="pin">
            <a href="@pin.getImage" rel="lightbox" title="@pin.getLink" descr="@pin.getDescription" username="@pin.getCreator.getUsername" creator="@pin.getCreator.getName" boardname="@pin.getBoard.getName">
                <img src="@pin.getImage" alt="Pin Image" />
            </a>
            <p class="description">@pin.getDescription</p>
            <div class="convo attribution clearfix">
                <p class="NoImage">
                    <a href="@routes.UserController.profile(pin.getCreator.getUsername)">
                        @pin.getCreator.getName
                    </a>
                    onto
                    <a href="@routes.BoardController.getBoard(pin.getCreator.getUsername, pin.getBoard.getName)">
                        @pin.getBoard.getName
                    </a>
                </p>
            </div>
        </div>
        }
    </div>
</div>

}